package com.situ.company.employee.service;

import java.util.List;

import com.situ.company.employee.model.EmployeeModel;

public interface IEmployeeService {
	
	String insert(EmployeeModel model);
	
	String delete(EmployeeModel model);
	
	String update(EmployeeModel model);
	
	List<EmployeeModel> selectList(EmployeeModel model);

	EmployeeModel selectModel(EmployeeModel model);

	/**
	 * 登录功能
	 * 
	 * @param model
	 * @return String 0 = 账号不存在 1 = 登录成功  2 = 密码错误
	 */
	String login(EmployeeModel model);
}
